#pragma once

#include "DialogExt.h"

// CDialogMainBase dialog
class CDialogMainBase : public CDialogExt
{
public:
	CDialogMainBase(UINT nIDTemplate, UINT nBkID, CWnd* pParent = NULL);   // standard constructor
	virtual ~CDialogMainBase();

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	virtual bool OnInitMainControls() = 0;
	virtual void SetBackground(int nId);
	DECLARE_MESSAGE_MAP()

public:
	virtual BOOL OnInitDialog();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
};
